package me.chyxion.blog.form;

import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author Shaun Chyxion <br>
 * chyxion@163.com <br>
 * Apr 19, 2018 17:47:31
 */
public class UserForm {
    private int id;
    private String name;
    private String gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }
}
